Nevron Open Vision Documentation
Nevron.Nov.Graphics Namespace / NBytesImageSource Class / NBytesImageSource Constructor / NBytesImageSource Constructor(Byte[])
A byte array containing image data that is encoded in one of the supported image formats. The passed byte array is assigned directly to the image source, it is not copied. Null is not accepted.


In This Topic
    NBytesImageSource Constructor(Byte[])
    In This Topic
    Creates a new image source from the specified byte array.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal data() As System.Byte _
    )
    'Usage
     
    
    Dim data() As System.Byte
     
    Dim instance As New NBytesImageSource(data)
    public NBytesImageSource( 
       System.byte[] data
    )

    Parameters

    data
    A byte array containing image data that is encoded in one of the supported image formats. The passed byte array is assigned directly to the image source, it is not copied. Null is not accepted.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also